package com.dk.service.impl;

import com.dk.mapper.BrandMapper;
import com.dk.pojo.Tbbrand;
import com.dk.service.BrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BrandServiceimpl implements BrandService {
    @Autowired
    private BrandMapper bandMap;
    @Override
    public List<Tbbrand> getAll() {
        List<Tbbrand> tbbrands = bandMap.selectList(null);
        return tbbrands;
    }
}
